package com.party.mapper;

import com.party.model.ExamAnswer;
import com.party.model.ExamAnswerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ExamAnswerMapper {
    int countByExample(ExamAnswerExample example);

    int deleteByExample(ExamAnswerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ExamAnswer record);

    int insertSelective(ExamAnswer record);

    List<ExamAnswer> selectByExample(ExamAnswerExample example);

    ExamAnswer selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ExamAnswer record, @Param("example") ExamAnswerExample example);

    int updateByExample(@Param("record") ExamAnswer record, @Param("example") ExamAnswerExample example);

    int updateByPrimaryKeySelective(ExamAnswer record);

    int updateByPrimaryKey(ExamAnswer record);



    List<ExamAnswer> getListExamAnswerByExamTestPrimaryKey(Integer testid);
    /**
     * 自建题目列表
     * @param example
     * @return
     */
    List<ExamAnswer> getListPage(ExamAnswerExample example);
}